package com.wty.cmims.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName institution_medication
 */
@TableName(value ="institution_medication")
@Data
public class InstitutionMedication implements Serializable {
    /**
     * 医疗机构——药品表ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 医疗机构ID
     */
    private Integer institutionId;

    /**
     * 药品ID
     */
    private Integer medicationId;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 删除标记
     */
    private Integer isDel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}